package cn.jilian.entity;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import org.hibernate.annotations.DiscriminatorOptions;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@DynamicInsert
@DynamicUpdate
@DiscriminatorValue(OrderItem.ESC_META)
@DiscriminatorOptions(force=true)
public class EscOrderItem extends OrderItem {

	/**
	 * 提升高度
	 * */
	@Column(name="ext1")
	private Double liftHeight;

	/**
	 * 速度
	 * */
	@Column(name="ext2")
	private Double speed;

	/**
	 * 角度
	 * */
	@Column(name="ext3")
	private Double angle;
	
	/**
	 * 扶手材质
	 * 1 :玻璃
	 * 2 ：不锈钢
	 * */
	@Column(name="ext4")
	private Integer material;

	public Double getLiftHeight() {
		return liftHeight;
	}

	public void setLiftHeight(Double liftHeight) {
		this.liftHeight = liftHeight;
	}

	public Double getSpeed() {
		return speed;
	}

	public void setSpeed(Double speed) {
		this.speed = speed;
	}

	public Double getAngle() {
		return angle;
	}

	public void setAngle(Double angle) {
		this.angle = angle;
	}

	public Integer getMaterial() {
		return material;
	}

	public void setMaterial(Integer material) {
		this.material = material;
	}
	
	
	
}
